import pymysql

# 连接到MySQL数据库
connection = pymysql.connect(
    host='database-1.cpa6qoo6yeo3.us-east-2.rds.amazonaws.com',
    user='admin',
    password='Song911120',
    database='elecbaby',
    port=3306,
    charset='utf8mb4'
)


def mysql_connect():
    return connection
